Q3Polygon_GetVertexPosition
You can use theQ3Polygon_GetVertexPosition
function to get the position of a vertex of a simple polygon.
TQ3Status Q3Polygon_GetVertexPosition ( TQ3GeometryObject polygon, unsigned long index, TQ3Point3D *point);
polygon
- A simple polygon.
index
- An index into the
vertices
array of the specified simple polygon.point
- On exit, the position of the specified vertex.
DESCRIPTION
TheQ3Polygon_GetVertexPosition
function returns, in thepoint
parameter, the position of the vertex having the index specified by theindex
parameter in thevertices
array of the simple polygon specified by thepolygon
parameter.